<template>
  <div class="ui form">
    <div class="ui red message"><i class="warning circle icon"></i>预定须知不可自定义配置</div>
    <component is="tFields" @onsubmit="onsubmit"  @oncancel="oncancel" @onclick="onclick" @onchange="onchange" :data="fileds" :nosubmit="nosubmit"></component>
  </div>
</template>
<script>
  import tool from 'src/util/tool';
  import util from '_util/index';
  import logic from '_logic';

  import tFields from 'components/tunit/tFields'
  export default {
    data() {
      return {
        val: null,
        nosubmit: true,
        fileds: [{
          label: "预定规则",
          show_type: "textarea",
          readonly: true,
          name: "order_roles",
        }
		// ,{
        //   label: "退改规则",
        //   show_type: "buttons",
        //   readonly: true,
        //   name: "refound_roles",
        //   element:[{text:"设置", mini: true}]
        // }
		,{
          label: "退改规则",
          show_type: "textarea",
          readonly: true,
          name: "srefund",
        }
		,{
          label: "使用说明",
          show_type: "textarea",
          readonly: true,
          name: "explanation",
        },{
          label: "温馨提示",
          show_type: "textarea",
          readonly: true,
          name: "notes",
        }],
        vo: {}
      }
    },
    components:{
      tFields
    },
    methods: {
      onchange(){},
      oncancel(){},
      onsubmit(){},
      onclick(btn){
      }
    },
    props: [],
    created() {

    },
    mounted(){

    }
  }
</script>
<style scoped lang="less">

</style>
